package com.bdsy.business.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.junit.runners.Parameterized.Parameter;

import com.bdsy.business.model.ShopSellInfo;

public interface ShopSellInfoService {

	public List<Map> selectShopSellInfo();
	
	public List<Map> selectzlShopSellInfo();
	
	public List<Map> selectAllShopSellInfo();
	
	public List<Map> shopSellInfoListByTypeId(Integer shopTypeId);
	
	public List<Map> shopzlSellInfoListByTypeId(Integer shopTypeId);
	
	//根据商品类型Id 查询条数
	public int count(Integer shopTypeId);
	
	//根据商品类型Id 查询条数
	public int zcount(Integer shopTypeId);
	
	public List<ShopSellInfo> selectShopInfo();
	
	public List<Map> selectShopSellInfoById(String userId);
	
	public List<Map> selectzlShopSellInfoById(String userId);
	
	public List<Map> selectShopSellInfoByShopId(Integer shopId);
	
	public List<Map> selectShopSellInfoByIcdn(String icdn);
	
	public List<Map> shopSellInfoByIcdn(String icdn);
	  
    public boolean add(ShopSellInfo shopSellInfo);
    
    public boolean delete(List<String> pIds);
    
    public int sellCount(String userId);
    
    public int zlCount(String userId);
    
    public List<Map> selectShopSellInfoByIdStatus(String userId,int status,int standDown);

	public List<Map> selectShopSellInfoByuserIdStatus(String userId,int status);
    
    public boolean update(ShopSellInfo shopSellInfo);
    
    public boolean updateShopStatus(ShopSellInfo shopSellInfo);
    
    public List<Map> selectShopSellInfoByIdStand(String userId,Integer sStatus);
    
    public List<Map> imageInfoById(int shopId);
    
    public List<Map> shopListByTime(String fromDate,String toDate,String userId,int sStatus);

	public boolean updateIdentStatus(Integer identStatus,Integer shopId);
}
